.editinfo-container {
  min-height: 100vh;
  background-color: #f5f5f5;
}

.editinfo-content {
  padding: 12px;
}

/* 加载容器 */
.loading-container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 200px;
  color: #666;
  font-size: 16px;
}

/* 表单样式 */
.editinfo-content .adm-form {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 20px;
}

.editinfo-content .adm-form-item {
  padding: 16px;
  border-bottom: 1px solid #f0f0f0;
}

.editinfo-content .adm-form-item:last-child {
  border-bottom: none;
}

.editinfo-content .adm-form-item-label {
  color: #333;
  font-weight: 500;
  width: 80px;
  min-width: 80px;
}

.editinfo-content .adm-input {
  border: none;
  background: transparent;
  padding: 0;
  text-align: right;
}

/* 头像上传样式 */
.avatar-upload {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  position: relative;
}

.avatar-display {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 10px;
  border: 2px dashed #d9d9d9;
  border-radius: 8px;
  background: #fafafa;
  cursor: pointer;
  transition: all 0.3s;
  position: relative;
}

.avatar-display:hover {
  border-color: #1890ff;
  background: #f0f8ff;
}

.avatar-text {
  font-size: 12px;
  color: #666;
}

/* 保持旧样式兼容性 */
.avatar-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 10px;
  border: 2px dashed #d9d9d9;
  border-radius: 8px;
  background: #fafafa;
  cursor: pointer;
  transition: all 0.3s;
}

.avatar-placeholder:hover {
  border-color: #1890ff;
  background: #f0f8ff;
}

/* react-vant Uploader样式 */
.editinfo-content .rv-uploader {
  --cell-size: 60px;
}

.editinfo-content .rv-uploader-cell {
  border-radius: 8px;
}

.editinfo-content .rv-uploader-upload {
  display: flex;
  justify-content: center;
  align-items: center;
}

.editinfo-content .rv-uploader-preview {
  border-radius: 8px;
  overflow: hidden;
}

.editinfo-content .rv-uploader-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 图片上传器样式 */
.editinfo-content .adm-image-uploader {
  --cell-size: 60px;
}

.editinfo-content .adm-image-uploader-cell {
  border-radius: 8px;
}

/* Picker 样式 */
.editinfo-content .adm-picker {
  text-align: right;
}

/* 禁用输入框样式 */
.editinfo-content .adm-input[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
}

/* 保存按钮区域 */
.save-section {
  margin-top: 20px;
}

.save-section .adm-button {
  height: 48px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 500;
}

/* 表单验证错误样式 */
.editinfo-content .adm-form-item-feedback {
  text-align: right;
  margin-top: 4px;
}

/* 移动端适配 */
@media (max-width: 480px) {
  .editinfo-content {
    padding: 8px;
  }
  
  .editinfo-content .adm-form-item {
    padding: 12px;
  }
  
  .editinfo-content .adm-form-item-label {
    width: 70px;
    min-width: 70px;
    font-size: 14px;
  }
  
  .editinfo-content .adm-input {
    font-size: 14px;
  }
  
  .avatar-placeholder {
    padding: 8px;
  }
}

@media (max-width: 375px) {
  .editinfo-content .adm-form-item-label {
    width: 60px;
    min-width: 60px;
    font-size: 13px;
  }
  
  .editinfo-content .adm-input {
    font-size: 13px;
  }
  
  .avatar-text {
    font-size: 11px;
  }
} 

  .adm-list-item-content{
    border: none;
  }

/* 性别单选框样式 */
.editinfo-content .adm-radio-group {
  display: flex;
  justify-content: flex-end;
  gap: 16px;
}

.editinfo-content .adm-radio {
  margin-right: 0;
}

.editinfo-content .adm-radio-text {
  font-size: 14px;
  color: #333;
}
